package com.aoxon.cargo.service;

import java.util.HashMap;

import com.aoxon.cargo.bean.GsonBean;

/**
 * 获取市场列表数据的服务
 * @author ZZJ
 *
 */
public class GetMarketService extends MyService {

	/**
	 * 获取市场列表
	 * @param city
	 * @param startIndex
	 * @param length
	 * @return
	 */
	public GsonBean execute(String city, int startIndex, int length) {

		url = "getMarket" + suffix;

		params = new HashMap<String, String>();
		params.put("city", city);
		params.put("startIndex", String.valueOf(startIndex));
		params.put("length", String.valueOf(length));

		return doPost();

	}
}
